fn main() {
    let z = my_function(22);
    println!("my_function returned: {}", z);
}

#[allow(clippy::let_and_return)]
fn my_function(x: i32) -> i32 {
    println!("my_function called with: {}", x);
    let y = 10;

    y
}
